<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtdesigner-index.qdoc -->
  <title>Qt Designer | Qt设计师手册</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.12</a></td><td ><a href="qtdesigner-manual.html">Qt设计师手册</a></td><td >Qt Designer</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtdesigner-manual.html">Qt 5.12.3 参考指南</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">目录</a></h3>
<ul>
<li class="level1"><a href="#getting-started"><span lang="zh-cn">开始</span></a></li>
<li class="level1"><a href="#articles-and-guides">文章和指南</a></li>
<li class="level1"><a href="#api-reference">API <span lang="zh-cn">指南</span></a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Designer</h1>
<span class="subtitle"></span>
<!-- $$$qtdesigner-index.html-description -->
<div class="descr"> <a name="details"></a>
<p>此外，<a href="qformbuilder.html">QFormBuilder</a>类还提供了在运行时从UI文件构造用户界面的可能性。</p>
<a name="getting-started"></a>
<h2 id="getting-started">开始</h2>
<p>要使用Qt Designer类，请将此指令添加到C++文件中:</p>
<pre class="cpp">

  <span class="preprocessor">#include &lt;QtDesigner&gt;</span>

</pre>
<p>要链接到Qt Designer模块，请将以下行添加到项目文件中:</p>
<pre class="cpp">

  CONFIG += designer

</pre>
<a name="articles-and-guides"></a>
<h2 id="articles-and-guides">文章和<span lang="zh-cn">指南</span></h2>
<p>这些文章包含关于Qt Designer的信息。</p>
<ul>
<li>&nbsp;<a href="qtdesigner-components.html">为Qt设计器创建和使用组件</a>—创建和使用自定义组件插件</li>
<li><a href="qtdesigner-manual.html">Qt设计师手册</a> - 使用Qt设计<span lang="zh-cn">师</span></li>
</ul>
<a name="api-reference"></a>
<h2 id="api-reference">API指南</h2>
<p>这些是API参考资料的链接。</p>
<ul>
<li><a href="qtdesigner-module.html">C++ <span lang="zh-cn">类</span></a></li>
</ul>
</div>
<!-- @@@qtdesigner-index.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
